<?php
class WebUser extends CWebUser
{	
	public function isAdmin(){
		return $this->getState('is_admin');
	}
	
	public function isClient(){
		return $this->getState('is_client');
	}
}